<!DOCTYPE html>
<html lang="zh-cmn-Hans"
      xmlns:th="http://www.thymeleaf.org" th:with="title= '菜单维护'">
<head th:replace="common/head :: common_header(~{::link},~{::script})">
    <link type="text/css" rel="stylesheet" th:href="@{/web/admin/editfunction/editfunction.css}"/>
    <script type="text/javascript" th:src="@{/web/admin/editfunction/editfunction.js}"></script>
</head>
<body>
<div>
    <div class="search-bar" style="margin-top: 10px;">
        <div class="searchT-title">查询条件</div>
        <div class="search-content" style="min-height:65px;">
            <table width="100%" class="search">
                <tr>
                    <td width="15%">
                    </td>
                    <th width="20%">检索菜单名称</th>
                    <td width="20%">
                        <input id="jsnr" class="search-input" type="text">
                    </td>
                    <td width="20%">
                        <button class="button-b button-primary" type="button" onclick="jccd()"><i
                                class="fa fa-search"></i>查询
                        </button>
                    </td>
                    <td width="25%">
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="search-bar" style="margin-top: 10px;">
        <div class="search-content"
             style="width: 50%;height:100%;float: left;border-right:dashed 1px #ccc;">
            <div class="searchT-title" style="text-align: center">功能树列表</div>
            <div class="search-content" style="margin-left: 50px;height:550px;overflow: auto;">
                <ul id="gns_tree"></ul>
            </div>
        </div>
        <div class="search-content" style="width: 50%;height:100%;float: right;">
            <div id="whms" class="searchT-title" style="text-align: center"></div>
            <div id="cdwhDiv">
                <div class="search-content" style="margin-left: 50px;">
                    <table width="100%" class="search">
                        <tr>
                            <td width="5%"></td>
                            <td width="20%" style="text-align: center"><span class="must-in">*</span>功能名称：</td>
                            <td width="75%">
                                <input id="gnmc" class="search-input" style="width: 300px;" type="text">
                            </td>
                        </tr>
                        <tr>
                            <td width="5%"></td>
                            <td width="20%" style="text-align: center"><span class="must-in">*</span>打开方式：</td>
                            <td width="75%">
                                <select style="width: 300px;" id="dkfs"
                                        class="form-control selectpicker select-fulllength"
                                        data-live-search="false">
                                    <option value="1">内嵌</option>
                                    <option value="2">新窗口</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td width="5%"></td>
                            <td width="20%" style="text-align: center"><span class="must-in">*</span>是否启用：</td>
                            <td width="75%">
                                <select style="width: 300px;" id="sfqy"
                                        class="form-control selectpicker select-fulllength"
                                        data-live-search="false">
                                    <option value="1">启用</option>
                                    <option value="0">停用</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td width="5%"></td>
                            <td width="20%" style="text-align: center">调整位置至：</td>
                            <td width="75%">
                                <input id="cdwz" class="easyui-combotree" style="width:300px;"/>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="text-align:left;">
                                <button class="button-b button-primary" style="margin-left:200px;" type="button"
                                        onclick="xgcdxx()"><i class="fa fa-floppy-o"></i>保存
                                </button>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div id="wjjwhDiv">
                <div class="search-content" style="margin-left: 50px;">
                    <table width="100%" class="search">
                        <tr>
                            <td width="5%"></td>
                            <td width="20%" style="text-align: center"><span class="must-in">*</span>文件夹名称：</td>
                            <td width="75%">
                                <input id="wjj_mc" class="search-input" style="width: 300px;" type="text">
                            </td>
                        </tr>
                        <tr>
                            <td width="5%"></td>
                            <td width="20%" style="text-align: center"><span class="must-in">*</span>是否启用：</td>
                            <td width="75%">
                                <select style="width: 300px" id="wjj_sfqy"
                                        class="form-control selectpicker select-fulllength"
                                        data-live-search="false">
                                    <option value="1">启用</option>
                                    <option value="0">停用</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td width="5%"></td>
                            <td width="20%" style="text-align: center">调整位置至：</td>
                            <td width="75%">
                                <input id="wjjwz" class="easyui-combotree" style="width:300px;"/>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="text-align: center">
                                <button class="button-b button-primary" style="margin-right:140px;" type="button"
                                        onclick="xgwjj()"><i class="fa fa-floppy-o"></i>修改
                                </button>
                            </td>
                        </tr>
                    </table>
                    <hr style="height:1px;width:400px;border:none;border-top:1px solid #555555; margin-left: 50px;"/>
                    <table width="100%" class="search">
                        <tr>
                            <td width="5%"></td>
                            <td width="20%" style="text-align: center"><span class="must-in">*</span>新增文件夹名称：</td>
                            <td width="75%">
                                <input id="new_wjj_mc" class="search-input" style="width: 300px;" type="text">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="text-align: center">
                                <button class="button-b button-primary" style="margin-right:140px;" type="button"
                                        onclick="xzwjj()"><i class="fa fa-plus-circle"></i>新增
                                </button>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="leaf" class="easyui-menu" style="width: 120px;">
    <div onclick="upNode()">上移节点</div>
    <div onclick="downNode()">下移节点</div>
</div>
<input id="str_gnsList" type="hidden" th:value="${str_gnsList}"/>
</body>
</html>
